

<div class="clearfix"></div>

<div class="productContent" data-product-id="<?php echo $product->getId(); ?>">
    <div class="container">
            <div class="col-xs-3">
                <div class="productSmallBox">
                    <div class="productImage">
                        <img src="/uploads/images/<?php echo $product->getImage(); ?>" alt="Nie znaleziono miniatury.">
                    </div>
                </div>
                <div class="buyBox marginBtn">
                    <div class="countBox">
                        <div class="input-group input-group-lg">
                            <span class="input-group-addon"><a href="#" id="countMinus"><span class="glyphicon glyphicon-minus"></span></a></span>
                            <input id="productCount" type="text" class="form-control" value="1" disabled>
                            <span class="input-group-addon"><a href="#" id="countPlus"><span class="glyphicon glyphicon-plus"></span></a></span>
                          </div>
                    </div>
                    <div class="productBuy">
                        <button id="addProductButton" data-product-id="<?php echo $product->getId(); ?>" class="btn btn-primary">Kup Teraz</button>
                    </div>
                </div>
        </div>
        <div class="col-xs-6">
<div class="productTitleContainer">
        <div class="productTitle">
            <label><?php echo $product->getName() ?> </label>
        </div>        

            <div class="productDescriptionContent">
                <?php echo html_entity_decode($product->getDescription()); ?>
            </div>
</div>
        </div>
        <div class="col-xs-3">
            <div class="panel panel-primary">
                <div class="panel-heading"><h4 align="center">Cena</h4></div>
                <div class="panel-body">
                    <h1 align="center"><?php echo $product->getPrice(); ?> zł.</h1>
                    
                    <div class="productAvailable">
                        Dostępnosc: <span class="full">pelna</span>.
                    </div>
                </div>
            </div>
        </div>
        
    </div>
</div>

<?php if(count($photos) > 0): ?>
<div class="container">
    <div class="productGallery">
        <div class="productGalleryTitle">Zdjecia produktu</div>
        <?php foreach($photos as $photo): ?>
            <div class="imageContainer">
                <a href="/uploads/images/<?php echo $photo->getImage();?>" rel="lightbox">
                    <img src="/uploads/images/<?php echo $photo->getImage();?>" alt="Nie znaleziono podanego obrazka">
                </a>
            </div>
        <?php endforeach; ?>
    </div>
</div>
<?php endif; ?>